import axios from '~/axios'
import { queryParams } from "~/composables/util"
export function logIn(username, password){
    return axios.post("/admin/login",{
        username,
        password
    })
}

export function getInfo(){
    return axios.post("/admin/getinfo")
}

export function logOut(){
    return axios.post("/admin/logout")
}

export function updatePassword(data){
    return axios.post("/admin/updatepassword",data)
}
